Package com.cisco.pt.ipc.ui.impl
Class SimulationPanelImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.ui.impl.SimulationPanelImpl
- All Implemented Interfaces:
IPCObject,SimulationPanel
Information provided by the PKI file:
\class SimulationPanel
\brief SimulationPanel allows for UI manipulation of the Simulation Panel.
\example appWindow().getSimulationPanel()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionSimulationPanelImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoidback()Information provided by the PKI file:voidchangePlaySpeed(int value) Information provided by the PKI file:voidforward()Information provided by the PKI file:booleanInformation provided by the PKI file:voidplay()Information provided by the PKI file:voidInformation provided by the PKI file:voidInformation provided by the PKI file:voidInformation provided by the PKI file:voidsetConstantDelay(boolean bSet) Information provided by the PKI file:voidsetDisabled(boolean bDisable) Information provided by the PKI file:voidInformation provided by the PKI file:voidsetVisible(boolean bVisible) Information provided by the PKI file:voidsetWidgetDisable(String widgetName, boolean bVisible) Information provided by the PKI file:voidsetWidgetVisible(String widgetName, boolean bVisible) Information provided by the PKI file:voidInformation provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
SimulationPanelImpl
public SimulationPanelImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setVisible
public void setVisible(boolean bVisible) Information provided by the PKI file:
\brief Shows or hides this widget from view. \param bVisible, true to show this widget, false to hide it.- Specified by:
setVisiblein interfaceSimulationPanel- Parameters:
bVisible- Takes in a parameter of bVisible
-
setWidgetVisible
Information provided by the PKI file:
\brief Shows or hides the specified child widget. \param widgetName, where widgetName can be one of the following: ResetSimulationBtn, BackBtn, PlayBtn, ForwardBtn, EditFilterBtn, ShowAllBtn, ConstantDelayBtn. \param bVisible, true to show this child widget, false to hide it.- Specified by:
setWidgetVisiblein interfaceSimulationPanel- Parameters:
widgetName- Takes in a parameter of widgetNamebVisible- Takes in a parameter of bVisible
-
setDisabled
public void setDisabled(boolean bDisable) Information provided by the PKI file:
\brief Enables or disables input events to this widget. \param bDisabled, true to disable input events to this widget, false to enable input events.- Specified by:
setDisabledin interfaceSimulationPanel- Parameters:
bDisable- Takes in a parameter of bDisable
-
setWidgetDisable
Information provided by the PKI file:
\brief Enables or disables the specified child widget. \param widgetName, where widgetName can be one of the following: ResetSimulationBtn, BackBtn, PlayBtn, ForwardBtn, EditFilterBtn, ShowAllBtn, ConstantDelayBtn. \param bDisabled, true to disable input events to this child widget, false to enable input events.- Specified by:
setWidgetDisablein interfaceSimulationPanel- Parameters:
widgetName- Takes in a parameter of widgetNamebVisible- Takes in a parameter of bVisible
-
resetSimulation
public void resetSimulation()Information provided by the PKI file:
\brief Simulates clicking on the Reset Simulation button.- Specified by:
resetSimulationin interfaceSimulationPanel
-
play
public void play()Information provided by the PKI file:
\brief Simulates clicking on the Auto Capture / Play button.- Specified by:
playin interfaceSimulationPanel
-
back
public void back()Information provided by the PKI file:
\brief Simulates clicking on the Back button.- Specified by:
backin interfaceSimulationPanel
-
forward
public void forward()Information provided by the PKI file:
\brief Simulates clicking on the Capture / Forward button.- Specified by:
forwardin interfaceSimulationPanel
-
isPlaying
public boolean isPlaying()Information provided by the PKI file:
\brief Returns true if the simulation is currently playing, otherwise false. \return bool, true if the simulation is currently playing, otherwise false.- Specified by:
isPlayingin interfaceSimulationPanel- Returns:
- boolean Returns a boolean
-
populateEventList
public void populateEventList()Information provided by the PKI file:
\brief Refreshes the display of the event list. \remark This function is generally not required unless there was direct manipulate of the events in the engine.- Specified by:
populateEventListin interfaceSimulationPanel
-
changePlaySpeed
public void changePlaySpeed(int value) Information provided by the PKI file:
\brief Changes the play speed of the simulation. \param value, the value of the play speed.- Specified by:
changePlaySpeedin interfaceSimulationPanel- Parameters:
value- Takes in a parameter of value
-
setFilter
Information provided by the PKI file:
\brief Enables or disables the specified event list filter. \param protocol, the name of the protocol. \param bSet, true to check the event list filter, false to uncheck it.- Specified by:
setFilterin interfaceSimulationPanel- Parameters:
protocol- Takes in a parameter of protocolbSet- Takes in a parameter of bSet
-
setAllFilters
public void setAllFilters()Information provided by the PKI file:
\brief Enables or disables all of the event list filters.- Specified by:
setAllFiltersin interfaceSimulationPanel
-
showFiltersDialog
public void showFiltersDialog()Information provided by the PKI file:
\brief Simulates clicking on the Edit Filters button.- Specified by:
showFiltersDialogin interfaceSimulationPanel
-
setConstantDelay
public void setConstantDelay(boolean bSet) Information provided by the PKI file:
\brief Enables or disables constant delay. \param bSet, true to enable constant delay, false to disable it.- Specified by:
setConstantDelayin interfaceSimulationPanel- Parameters:
bSet- Takes in a parameter of bSet
-